﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SelectProduct.aspx.cs" Inherits="admin_SelectProduct" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>选择产品</title>
    <base target="_self"></base>
    <style type="text/css">
<!--
body {
	margin-left: 5px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-family: 新宋体;
	font-size: 12px;
}
a {
	font-size: 12px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
.d {
	font-family: "新宋体";
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: underline;
}
.STYLE5 {
	color: #0066FF;
	font-weight: bold;
	font-family: "汉仪中黑简";
	font-size: 14px;
}
.STYLE7 {color: #FFFFFF; font-weight: bold; font-size: 13px; }
.STYLE20 {color: #673C84; font-weight: bold; }
.STYLE22 {color: #333333; font-weight: bold; }
.itemhead
{
    background-image:url('../images/Snap1.jpg');
}
-->
</style>
</head>
<%     
        Response.Buffer = true;
        Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
        Response.Expires = 0;
        Response.CacheControl = "no-cache";   
%>
<body bgcolor="#eeeeee">
    <form id="form1" runat="server">
    <div>
        <table bgcolor="#000000" cellpadding="1" cellspacing="1">
            <tr>
                <td bgcolor="#ffffff">
                    <asp:Label ID="Label5" runat="server" Text="产品名称：" Font-Bold="False"></asp:Label>
                    <asp:TextBox ID="txtProductName" runat="server" Width="100px"></asp:TextBox>
                    <asp:Button ID="btnFind" runat="server" CausesValidation="False" OnClick="btnFind_Click"
                        Text="模糊查询" Font-Size="12px" /></td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" valign="top">
                    <asp:DataList ID="DataList2" runat="server" BackColor="White" BorderColor="#E7E7FF"
                        BorderStyle="None" BorderWidth="1px" CellPadding="3" Font-Bold="False" Font-Italic="False"
                        Font-Overline="False" Font-Strikeout="False" Font-Underline="False" GridLines="Horizontal"
                        HorizontalAlign="Center" OnItemCommand="DataList2_ItemCommand" OnItemDataBound="DataList2_ItemDataBound"
                        Width="279px">
                        <FooterStyle BackColor="#B5C7DE" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                            Font-Strikeout="False" Font-Underline="False" ForeColor="Black" HorizontalAlign="Right" CssClass="itemhead" />
                        <SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton4" runat="server" CausesValidation="False" CommandArgument='<%# Eval("ProductId") %>'
                                CommandName="selectData" Text='<%# Eval("ProductName") %>'></asp:LinkButton>
                        </ItemTemplate>
                        <AlternatingItemStyle BackColor="#F7F7F7" />
                        <ItemStyle BackColor="White" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                            Font-Strikeout="False" Font-Underline="False" ForeColor="Black" HorizontalAlign="Center" />
                        <HeaderTemplate>
                            <asp:Label ID="Label5" runat="server" Text="选择产品（最多显示10条）"></asp:Label>
                        </HeaderTemplate>
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" Font-Italic="False" Font-Overline="False"
                            Font-Strikeout="False" Font-Underline="False" ForeColor="Black" HorizontalAlign="Center" CssClass="itemhead" />
                        <FooterTemplate>
                            <asp:LinkButton ID="LinkButton5" runat="server" CausesValidation="False">上一页</asp:LinkButton>
                            <asp:LinkButton ID="LinkButton6" runat="server" CausesValidation="False">下一页</asp:LinkButton>
                        </FooterTemplate>
                    </asp:DataList></td>
            </tr>
            <tr>
                <td align="right" background="../images/Snap1.jpg" bgcolor="#ffffff">
                    <input id="btnClose" style="font-size: 12px" type="button" value="关闭" onclick="window.close()"/>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
